package com.opencloud.ywt.client.model.entity;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;
import java.util.Date;

/**
 * 问卷
 * @author yeyong
 */
@TableName("bhyf_bdb_warningtemp")
public class BhyfBdbWarningTemp implements Serializable {

    private static final long serialVersionUID= -964202352621690483L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @TableId(value = "学生Mac")
    @ApiModelProperty(value = "学生Mac")
    private String mac;

    @ApiModelProperty(value = "温度")
    private Float temp;

    @ApiModelProperty(value = "日期")
    private String checktime;

    @ApiModelProperty(value = "报警状态 1=报警 0=解除")
    private Integer checktype;

    @TableField(fill = FieldFill.INSERT)
    private Date createtime;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Float getTemp() {
        return temp;
    }

    public void setTemp(Float temp) {
        this.temp = temp;
    }

    public Integer getChecktype() {
        return checktype;
    }

    public void setChecktype(Integer checktype) {
        this.checktype = checktype;
    }

    public String getChecktime() {
        return checktime;
    }

    public void setChecktime(String checktime) {
        this.checktime = checktime;
    }

    public Date getCreatetime() {
        return createtime;
    }

    public void setCreatetime(Date createtime) {
        this.createtime = createtime;
    }

    public String getMac() {
        return mac;
    }

    public void setMac(String mac) {
        this.mac = mac;
    }

    @Override
    public String toString() {
        return "bhyf_bdb_warningtemp" +
                "id=" + id +
                ", checktype=" + checktype +
                ", temp=" + temp +
                ", checkdate=" + checktime +
                ", mac=" + mac +
                ", createtime=" + createtime +
                "}";
    }
}
